home *** CD-ROM | disk | FTP | other *** search
- > I thought that if you used a negative number in the Rnd() function,
- > it would return the same number as it did for the last Rnd() call. Therefore,
- > you would not get the same set of random numbers 10 times, you would get 10
- > sets of numbers, each set containing 10 of the same random number, each set
- > possibly being composed of a different repeated number.
- >
-
- That may be what the manual says (I can`t remember, and it`s 2 miles
- away from here), but believe me, using a -ve number DOES work, check
- out my "Midwinter" map generator (available on Aminet and AMOS Website) for
- proof. It was this program that prompted me to ask Europress what the
- %$*&& was going on with Rnd/Randomise, and that`s how I got the
- fix/workaround/call it what you like.
-
- Chris
- c.j.coulson@ncl.ac.uk
-
- Windows 95, so nice of Microsoft to advertise the memory requirement
- so openly...............
-
-